<?php
/* @var $this UserController */
/* @var $model User */
/* @var $form CActiveForm */
?>

<div class="search">
    
<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>
    
	<?php echo $form->label($model,'id'); ?>
	<?php echo $form->textField($model,'id',array('class'=>'input')); ?>

	<?php echo $form->label($model,'username'); ?>
	<?php echo $form->textField($model,'username',array('size'=>50,'maxlength'=>50,'class'=>'input')); ?>

	<?php echo CHtml::submitButton('查 询',array('class'=>'but')); ?>

<?php $this->endWidget(); ?>
    
</div><!-- search-form -->